//
//  ImageListView.h
//  安好
//
//  Created by rlp on 14-11-21.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
// 横向图片列表

#import <UIKit/UIKit.h>
#import "UIImageView+MJWebCache.h"
@protocol ImageViewsDelegate <NSObject>
/**
 *  点击image回调方法
 *
 *  @param index      imageview的 SuperView的tag
 *  @param imageIndex imageview的 tag
 */
-(void)imageViewsIndex:(NSInteger)index subImageIndex:(NSInteger)imageIndex;

-(void)imageViewsIndex:(NSInteger)index subImageIndex:(NSInteger)imageIndex imageView:(UIImageView *)imageview;

@end


@interface ImageListView : UIView
@property(assign,nonatomic)id <ImageViewsDelegate>delegate;





@property (strong,nonatomic)NSMutableDictionary *imageViewsDict;
-(instancetype)initWithFrame:(CGRect)frame imageViews:(NSArray *)imageViews;
-(instancetype)initWithFrame:(CGRect)frame imageViewsDict:(NSDictionary *)imageViewsDict;



@property (strong,nonatomic)NSMutableArray *images;

@end
